package softtech.apps.model;

public class Search_Product extends BaseProduct {
	private String sIsActive;
	private String sRadius;
	/**
	 * Ham khoi tao dung cho viec cap nhat du lieu
	 * */
	public Search_Product(int pId, int pCategory, int pColor, String pName,
			float pSize, float pPrice, String sIsActive, String sRadius,int pServerId, int pUserId) {
		super(pId, pCategory, pColor, pName, pSize, pPrice,pServerId, pUserId);
		this.sIsActive = sIsActive;
		this.sRadius = sRadius;
	}
	
	/**
	 * Ham khoi tao dung cho viec them moi doi tuong Search_Product
	 * Dong thoi cung la ham khoi tao cac thuoc tinh bat buoc cua Search_Product
	 * */
	public Search_Product(int pCategory, int pColor, String pName,
			float pSize, float pPrice, String sIsActive, String sRadius,int pServerId, int pUserId) {
		super(pCategory, pColor, pName, pSize, pPrice,pServerId, pUserId);
		this.sIsActive = sIsActive;
		this.sRadius = sRadius;
	}
	public String getsIsActive() {
		return sIsActive;
	}

	public void setsIsActive(String sIsActive) {
		this.sIsActive = sIsActive;
	}

	public String getsRadius() {
		return sRadius;
	}

	public void setsRadius(String sRadius) {
		this.sRadius = sRadius;
	}
}
